package com.zhongyu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhongyu.mapper.ViewMapper;
import com.zhongyu.pojo.View;
import com.zhongyu.service.ViewService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("ViewService")
public class ViewServicelmpl  extends ServiceImpl<ViewMapper, View> implements ViewService {
    @Resource
    private  ViewMapper viewMapper;
    @Override
    public List<View> search() {

        return viewMapper.findAll();
    }
}
